package ui.listeners;

import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;

/**
 * Window listener that will kill the program when it is closed from the
 * operating system. In Windows, the window decorations have been removed.
 * Therefore, the only way to close the program from the operating system is to
 * right click the program in the task bar and select "Close window".
 * 
 * @author Team Titanium
 */
public class CheckerBoardWindowListener implements WindowListener {

	public void windowActivated(WindowEvent e) {
		// TODO Auto-generated method stub

	}

	public void windowClosed(WindowEvent e) {
		// TODO Auto-generated method stub

	}

	public void windowClosing(WindowEvent e) {
		System.exit(0);

	}

	public void windowDeactivated(WindowEvent e) {
		// TODO Auto-generated method stub

	}

	public void windowDeiconified(WindowEvent e) {
		// TODO Auto-generated method stub

	}

	public void windowIconified(WindowEvent e) {
		// TODO Auto-generated method stub

	}

	public void windowOpened(WindowEvent e) {
		// TODO Auto-generated method stub

	}

}
